<?php get_header(); ?>
			
				<?php
					$args = array('category_name'=>'videos',
								'orderby' => 'post_date',
								'order' => 'DESC',
								'numberposts' => -1);
					$myposts = get_posts( $args );
					//$the_query = new WP_Query( $args );
					//var_dump($the_query);
					
					?>
				<div id="videos-container" class="archive-box backgrounded shadowed rounded">
					<h3 class="h2">Videos</h3>
					<hr>
					<?php foreach ( $myposts as $post ): setup_postdata($post); //if ($the_query->have_posts()) : while ($the_query->have_posts()) : the_post(); ?>
						
						<div class="video">
							<a href="<?php the_permalink();?>">
								<div class="post-thumb"><?php the_post_thumbnail("video")?></div>
							
								<h4 class="title-little"><?php the_title();?></h4>
							</a>
						</div>
					
					<!-- 
					<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix '); ?> role="article">
						
						<header>
							
							<h3 class="h2"><?php the_title(); ?></h3>
						
						</header>
					<hr>
						<section class="post_content">
							
					
						</section> 
						
						<footer>
			
							<p class="clearfix"><?php the_tags('<span class="tags">' . __("Tags","bonestheme") . ': ', ', ', '</span>'); ?></p>
							
						</footer> 
										<?php //comments_template(); ?>
					
					</article> 
					 -->
					
					<?php endforeach; ?>	
					
				</div> <!-- end #videos-container -->
					</div> <!-- end #main-left-col -->
				
			
				</div> <!-- end #main -->
    
			</div> <!-- end #content -->
<?php get_footer(); ?>